package com.noreply.springannotation.filter;

import com.noreply.springannotation.filter.scan.Apple;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * @author noreply
 * @description
 * @datetime 2022/3/11 9:12
 *     ANNOTATION, 注解
 *     ASSIGNABLE_TYPE, 指定类型
 *     ASPECTJ, 使用ASPECTJ表达式
 *     REGEX, 使用正则表达式
 *     CUSTOM; 自定义filter
 */
@Configuration
@ComponentScan(value = "com.noreply.springannotation.filter.scan",
        excludeFilters = {@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE , classes = {Apple.class})})
public class FilterConfig {


}
